<?#//v.3.0.0
#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////

?>

<div class="content">
    <div class="tableContent2">
        <div class="titTable2">
            <?=$MSG_152?>
        </div>
			<div class="titTable3">
			<a href="item.php?"><? print $MSG_138; ?></a> | 
			<?
			if(isset($ARETHEREBIDS)&&!empty($ARETHEREBIDS)) {
			?>
				<?=$ARETHEREBIDS?>
			<?
			}
			?>
			</div>
        <div class="table2">
            <?
            if(!empty($TPL_errmsg)) {
			?>
            <div class=errfont>
                <?=$TPL_errmsg?>
            </div>
            <?
            }
			?>
            <?
            if(!$_SESSION["PHPAUCTION_LOGGED_IN"]) {
            ?>
            <div class="titTable4">
                <? print $MSG_273?>
            </div>
            <?
            }
			?>
            <?
            if(!empty($TPL_new_proxy2)|| !empty($TPL_new_proxy3)) {
            ?>
            <div class=errfont>
                <? print $TPL_new_proxy2.$TPL_new_proxy3; ?>
            </div>
            <?
            }
			?>
            <form name="bid" action="<?=basename($PHP_SELF)?>" method="POST">
                <table width="100%" border=0 cellpadding="4">
                    <tr>
                        <td><b>
                            <?=$MSG_154?>
                            </b> &nbsp;<? echo stripslashes($TPL_title); ?> <br />
                            <? echo $currency; ?></td>
                    </tr>
                    <tr>
                        <td> <b><? print $MSG_156; ?></b> &nbsp;
                            <input type=TEXT size=5 name="bid" value="<? print $bidH; ?>" />
                            ( <? print $MSG_283; ?> : <? print $TPL_next_bid; ?> ) </td>
                    </tr>
                    <? if ($atype==2) {?>
                    <tr>
                        <td><? print $MSG_284; ?> :
                            <input type=TEXT size=3 name="qty" value="<? print $qtyH; ?>" />
                        </td>
                    </tr>
                    <?
                    }
                    ?>
                </table>
                <table width="100%" border="0" cellpadding="4" cellspacing="0">
                    <tr>
                        <td width="30%" align="right" valign="bottom"><b><? print $MSG_047; ?></b></td>
                        <td width="70%" valign="top">
                            <?
                            if(!$_SESSION["PHPAUCTION_LOGGED_IN"])
                            {
							?>
                            <a target="_blank" href="register.php?"> <? print $MSG_163; ?> </a> <br />
                            <input type="text" name="nick" size="20" value="<? echo $nickH; ?>" />
                        </td>
                    </tr>
                    		<?
                            } else {
							?>
&nbsp;<b>
                    <?=$_SESSION["PHPAUCTION_LOGGED_IN_USERNAME"] ?>
                    </b>
                    <input type="hidden" name="nick" size="20" value="<? echo $_SESSION["PHPAUCTION_LOGGED_IN_USERNAME"]; ?>" />
                    <?
                            }
					?>
                    <br />
                    <tr>
                        <td align="right"><b><? print $MSG_004; ?></b></td>
                        <td>
                            <input type="password" name="password" size="20"  value="" />
                        </td>
                    </tr>
                </table>
                <div style="text-align:center">
                    <input type="hidden" name="id" value="<? echo $id; ?>" />
                    <br />
                    <input type="hidden" name="action" value="bid" />
                    <input type=submit name="Input" value="<?=$MSG_5199?>" class=button />
                    <input type=reset name="Input" value="<?=$MSG_035?>" class=button />
                </div>
            </form>
        </div>
    </div>
</div>
